html{
background:-moz-Dialog}

body{
color:#000;
font:message-box;
margin:0;
padding:0 1em}

h1{
border-bottom:1px solid ThreeDLightShadow;
font-size:160%;
margin:0 0 .6em}

ul,ol{
-moz-margin-start:1.5em;
margin:0;
padding:0}

ul > li,ol > li{
margin-bottom:.5em}

ul{
list-style:square}

#errorPageContainer{
position:relative;
min-width:13em;
max-width:52em;
border:1px solid ThreeDShadow;
-moz-border-radius:10px;
-moz-padding-start:30px;
background:url("chrome://global/skin/icons/warning-large.png") left 0 no-repeat -moz-Field;
-moz-background-origin:content;
margin:4em auto;
padding:3em}

#errorPageContainer.certerror{
background-image:url("chrome://global/skin/icons/sslWarning.png")}

body[dir="rtl"] #errorPageContainer{
background-position:right 0}

#errorTitle{
-moz-margin-start:80px}

#errorLongContent{
-moz-margin-start:80px}

#errorShortDesc > p{
overflow:auto;
border-bottom:1px solid ThreeDLightShadow;
padding-bottom:1em;
font-size:130%;
white-space:pre-wrap}

#errorLongDesc{
-moz-padding-end:3em;
font-size:110%}

#errorTryAgain{
margin-top:2em;
-moz-margin-start:80px}

#brand{
position:absolute;
right:0;
bottom:-1.5em;
-moz-margin-end:10px;
opacity:.4}

body[dir="rtl"] #brand{
right:auto;
left:0}

#brand > p{
margin:0}

#errorContainer{
display:none}

#securityOverrideDiv{
padding-top:10px}

#securityOverrideContent{
background-color:InfoBackground;
color:InfoText;
-moz-border-radius:10px;
padding:10px}

:root.blacklist #errorTitle,
:root.blacklist #errorLongContent,
:root.blacklist #errorShortDesc,
:root.blacklist #errorLongDesc,
:root.blacklist a{
background-color:#722;
color:#FFF}

:root.blacklist #errorPageContainer{
background-image:url("chrome://global/skin/icons/blacklist_large.png");
background-color:#722}

:root.blacklist{
background:#333}

:root.blacklist #errorTryAgain{
display:none}

button{
color:#000}